mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-02-24 19:07:44 +03:00
[PR #1234] [MERGED] Log proper namespace in the err!() macro #2890
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/1234
Author: @janost
Created: 11/22/2020
Status: ✅ Merged
Merged: 11/27/2020
Merged by: @dani-garcia
Base:
master← Head:fix-failed-auth-log📝 Commits (1)
caddf21Log proper namespace in the err!() macro📊 Changes
1 file changed (+3 additions, -0 deletions)
View changed files
📝
src/error.rs(+3 -0)📄 Description
Fixes #1233.
This change makes the
err!()macro to log the namespace it was called from instead ofbitwarden_rs::error.I did my best to test a few error cases, however it might have some unintended side effects to error logging. Please let me know if it's broken.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.