Skip to content

Commit

Permalink
Merge pull request #5851 from gitbutlerapp/error-stuff
Browse files Browse the repository at this point in the history
fix: update error message for backend failures in frontend
  • Loading branch information
krlvi authored Dec 18, 2024
2 parents c554157 + 312de6c commit 91524f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/gitbutler-tauri/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ mod frontend {
self.0
.source()
.map(|err| Cow::Owned(err.to_string()))
.unwrap_or_else(|| Cow::Borrowed("Something went wrong"))
.unwrap_or_else(|| Cow::Borrowed("An unknown backend error occurred"))
});
map.serialize_entry("message", &message)?;
map.end()
Expand Down

0 comments on commit 91524f7

Please sign in to comment.