Skip to content

Commit 9e4eed9

Browse files
committed
show file name in invalid file dialog
1 parent c034dbe commit 9e4eed9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/sparrowwallet/sparrow/AppController.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ public InputStream openStream() {
636636
} catch(TransactionParseException e) {
637637
showErrorDialog("Invalid transaction", e.getMessage());
638638
} catch(Exception e) {
639-
showErrorDialog("Invalid file", "Cannot recognise the format of this file.");
639+
showErrorDialog("Invalid file", "Cannot recognise the format of the " + file.getName() + " file.");
640640
}
641641
}
642642
}

0 commit comments

Comments
 (0)