Skip to content

Commit

Permalink
Carael/messages error handling (#47)
Browse files Browse the repository at this point in the history
* Error handling in message details dialog
  • Loading branch information
Carael authored Mar 4, 2024
1 parent 18aa137 commit f961be7
Show file tree
Hide file tree
Showing 3 changed files with 360 additions and 339 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public static ApplicationPropertyType GetApplicationPropertyType(this object val
Stream _ => ApplicationPropertyType.Stream,
Uri _ => ApplicationPropertyType.Uri,
TimeSpan _ => ApplicationPropertyType.TimeSpan,
_ => throw new ArgumentOutOfRangeException("Unsupported type")
_ => throw new ArgumentOutOfRangeException($"Type {value.GetType()} is not supported")
};

public static object GetApplicationPropertyValue(
Expand Down
2 changes: 1 addition & 1 deletion src/Ui/Website.Host/electron.manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"appId": "com.crossbusexplorer.app",
"productName": "Cross Bus Explorer",
"copyright": "Copyright © 2024",
"buildVersion": "0.4.3",
"buildVersion": "0.4.4",
"compression": "maximum",
"directories": {
"output": "../../../bin/Desktop"
Expand Down
Loading

0 comments on commit f961be7

Please sign in to comment.