Skip to content

Commit

Permalink
show file name in invalid file dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
craigraw committed Mar 6, 2024
1 parent c034dbe commit 9e4eed9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/sparrowwallet/sparrow/AppController.java
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ public InputStream openStream() {
} catch(TransactionParseException e) {
showErrorDialog("Invalid transaction", e.getMessage());
} catch(Exception e) {
showErrorDialog("Invalid file", "Cannot recognise the format of this file.");
showErrorDialog("Invalid file", "Cannot recognise the format of the " + file.getName() + " file.");
}
}
}
Expand Down

0 comments on commit 9e4eed9

Please sign in to comment.