mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-25 21:26:43 +00:00
show file name in invalid file dialog
This commit is contained in:
parent
c034dbe89e
commit
9e4eed965c
1 changed files with 1 additions and 1 deletions
|
@ -636,7 +636,7 @@ public class AppController implements Initializable {
|
||||||
} catch(TransactionParseException e) {
|
} catch(TransactionParseException e) {
|
||||||
showErrorDialog("Invalid transaction", e.getMessage());
|
showErrorDialog("Invalid transaction", e.getMessage());
|
||||||
} catch(Exception e) {
|
} 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.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue