mirror of
https://github.com/adnanh/webhook.git
synced 2026-07-27 01:29:16 +08:00
2947e5e0e8
The hook package should be self-contained and return errors instead of relying on the log subsystem. This commit removes the logging side-effects from the hook package. Custom errors are returned that should be transparent to the caller -- they can just treat them as simple errors if they don't care to check the type.