dao-contracts icon indicating copy to clipboard operation
dao-contracts copied to clipboard

Change all "Unauthorized" errors to be more specific

Open blue-note opened this issue 2 years ago • 0 comments

Generally, generic "unauthorized" errors serve the function of not leaking sensitive or unnecessary info to unauthorized actors in closed-source systems. In this case since we are open-source, having generic unauthorized errors makes less sense: it would be more useful to include more information in the error message to assist in troubleshooting.

blue-note avatar Aug 05 '22 00:08 blue-note