DLHub-Argonne/dlhub_sdk

update authorizer warning message

Opened this issue · 1 comments

This warning comes up when an authorizer is not defined properly in dlhub (ie if it's None). This message swallows the stack trace, making it challenging for a user to debug. Update to outright fail.

This warning can be triggered if the user does not supply an argument for sl_authorizer, which results in improper login flow (and will kill tests in GHA).

Screen Shot 2023-04-19 at 4 07 06 PM

Per slack conversation w/ Ari: this should outright fail; failure of the user to pass in a required parameter when initializing DLHub is an important failure case