You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
exometer_admin:default(Type) will cause a function_clause exception for any given type not already known to exometer_core. This seems unnecessary.
Fix: have a catch-all clause return undefined. If no module is given for the type, this will cause a follow-on error, which perhaps could be handled in a prettier way.
(Would create a PR directly, but am already messing with exometer_admin for other reasons, so this is a reminder for later.)
The text was updated successfully, but these errors were encountered:
exometer_admin:default(Type)
will cause afunction_clause
exception for any given type not already known to exometer_core. This seems unnecessary.Fix: have a catch-all clause return
undefined
. If no module is given for the type, this will cause a follow-on error, which perhaps could be handled in a prettier way.(Would create a PR directly, but am already messing with exometer_admin for other reasons, so this is a reminder for later.)
The text was updated successfully, but these errors were encountered: