Skip to content

Commit

Permalink
feat: tweak error message
Browse files Browse the repository at this point in the history
  • Loading branch information
hacdias committed May 12, 2023
1 parent ed4c654 commit ac9bb1f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions gateway/assets/error.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
{{ if eq .StatusCode 400 }}
<p>Your request is invalid. Please check the error below for more information.</p>
{{ else if eq .StatusCode 404 }}
<p>The content path you're looking for cannot be found. There's likely an invalid or missing DAG node.</p>
<p>The content path you requested cannot be found. There's likely an invalid or missing DAG node.</p>
{{ else if eq .StatusCode 410 }}
<p>The content path you tride to request is correct, but this gateway refuses to return the requested data.</p>
{{ else if eq .StatusCode 412 }}
Expand All @@ -67,7 +67,7 @@
</tr>
<tr>
<td>
<p>Suggestions on how you can proceed:
<p>How you can proceed:
<ul>
<li>Check the <a href="https://discuss.ipfs.tech/c/help/13" rel="nofollow">Discussion Forums</a> for similar errors</li>
<li>Try diagnosing your request with the <a href="https://docs.ipfs.tech/reference/diagnostic-tools/" rel="nofollow">diagnostic tools</a></li>
Expand Down
4 changes: 2 additions & 2 deletions gateway/assets/src/error.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
{{ if eq .StatusCode 400 }}
<p>Your request is invalid. Please check the error below for more information.</p>
{{ else if eq .StatusCode 404 }}
<p>The content path you're looking for cannot be found. There's likely an invalid or missing DAG node.</p>
<p>The content path you requested cannot be found. There's likely an invalid or missing DAG node.</p>
{{ else if eq .StatusCode 410 }}
<p>The content path you tride to request is correct, but this gateway refuses to return the requested data.</p>
{{ else if eq .StatusCode 412 }}
Expand All @@ -53,7 +53,7 @@
</tr>
<tr>
<td>
<p>Suggestions on how you can proceed:
<p>How you can proceed:
<ul>
<li>Check the <a href="https://discuss.ipfs.tech/c/help/13" rel="nofollow">Discussion Forums</a> for similar errors</li>
<li>Try diagnosing your request with the <a href="https://docs.ipfs.tech/reference/diagnostic-tools/" rel="nofollow">diagnostic tools</a></li>
Expand Down

0 comments on commit ac9bb1f

Please sign in to comment.