MakUrSpace / hyperspace

https://www.makurspace.com
Other
0 stars 0 forks source link

Exception Handling Pages for API rendered html endpoints #20

Closed musingsole closed 3 years ago

musingsole commented 3 years ago

Many API endpoints result in rendered pages that are meant to be submitted to a user. These endpoints need more robust exception handling and failure modes to help users understand the state of the system.

This most recently popped up with the hard failure of the bounty submission form. The form submission endpoint now catches all exceptions and will return new bounty form with a message about the processing error at the top of the page. This too could be improved, but is a starting point for the effort.

musingsole commented 3 years ago

Of note is the Call Bounty submission page that fails ugly-y with a bad maker email.

musingsole commented 3 years ago

Implemented in https://github.com/MakUrSpace/hyperspace/commit/9b93bbe802dcb45c4132c7be0da3c7f91fa3cd63