1
0
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:
Kyle Spearrin
2018-03-30 00:01:53 -04:00
parent 8edba6bb6c
commit e51cf078b0
3 changed files with 10 additions and 3 deletions

View File

@@ -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