mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-18 20:25:45 +01:00
Better error on fail to import save
This commit is contained in:
parent
494bc25794
commit
237f9037bf
@ -73,6 +73,7 @@ export const GameOptionsSidebar = (props: IProps): React.ReactElement => {
|
||||
setImportData(data);
|
||||
setImportSaveOpen(true);
|
||||
} catch (e: unknown) {
|
||||
console.error(e);
|
||||
SnackbarEvents.emit(String(e), ToastVariant.ERROR, 5000);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user