Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sanity checks for config hash and versioning
Implementation of Haufe-Lexware/wicked.haufe.io#36 and Haufe-Lexware/wicked.haufe.io#38 in the portal.
- Loading branch information
1 parent
45ff7b2
commit c0e1665
Showing
5 changed files
with
54 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
extends layout | ||
|
||
block content | ||
|
||
.jumbotron.wicked-error-title | ||
.container.wicked-title-container | ||
h1 Configuration Mismatch | ||
|
||
h2 Status Code: #{error.status} | ||
|
||
p= message | ||
|
||
a(class='btn btn-lg btn-warning' onclick='window.history.back();') Go back » | ||
|
||
.container.wicked-container | ||
|
||
img(src='/images/wicked-256.png').center-block | ||
|
||
br | ||
br | ||
|
||
h4. | ||
The configuration has changed, or the Portal runs a different version of wicked.haufe.io than the underlying API. | ||
|
||
p. | ||
Please check back in a minute. This may be intended behavior, and the portal will restart shortly. | ||
If the problem persists, please notify the maintainer of this API Portal. | ||
|
||
br | ||
br | ||
br | ||
|
||
p. | ||
Correlation ID: <code>#{correlationId}</code> | ||
|
||
if error.stack | ||
pre #{error.stack} |