mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-18 15:28:43 +02:00
Better error on fail to import save
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user