Skip to content

Commit 0b6bb20

Browse files
Added error conditional for correct error
1 parent c6ad058 commit 0b6bb20

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

app/rooms/templates/error.html

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,16 @@
55

66
<div class="container" style="margin-top: 40px; margin-left: 300px">
77

8-
<h2>Problem: an error occurred</h2>
9-
<p>Error information:</p>
8+
<h2>Error</h2>
109

11-
{% if error_code %}
12-
<p>{{ error_code }}: {{ error_message }}</p>
10+
{% if error_code == 'FORMS_INTEGRATION_NOT_ENABLED' %}
11+
<p>{{ error_code }}: Please contact your DocuSign Account Manager or Business Development representative to enable Forms for this account.</p>
1312
{% else %}
14-
<p><pre>{{ err }}</pre></p>
13+
{% if error_code %}
14+
<p>{{ error_code }}: {{ error_message }}</p>
15+
{% else %}
16+
<p><pre>{{ err }}</pre></p>
17+
{% endif %}
1518
{% endif %}
1619

1720

0 commit comments

Comments
 (0)