mirror of
https://github.com/bitwarden/server
synced 2025-12-18 17:23:28 +00:00
include project property with logs
This commit is contained in:
@@ -16,6 +16,7 @@ namespace Bit.Admin.Models
|
||||
public string MessageTemplate { get; set; }
|
||||
public Error Exception { get; set; }
|
||||
public IDictionary<string, object> Properties { get; set; }
|
||||
public string Project => Properties?.ContainsKey("Project") ?? false ? Properties["Project"].ToString() : null;
|
||||
|
||||
[JsonObject(MemberSerialization.OptIn)]
|
||||
public class Error : Exception, ISerializable
|
||||
|
||||
Reference in New Issue
Block a user