Skip to content
This repository was archived by the owner on Aug 15, 2024. It is now read-only.

Commit 6c70874

Browse files
author
serg.morozov
committed
fix: add error message on failed load
1 parent fe43ed5 commit 6c70874

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Assets/com.nuclearband.sodatabase/Runtime/SODatabaseSaver.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,9 @@ async Awaitable ISODatabaseSaver.LoadAsync()
115115

116116
break;
117117
}
118-
catch (Exception)
118+
catch (Exception e)
119119
{
120+
Debug.LogError(e.Message);
120121
if (File.Exists(SaveBakPath))
121122
{
122123
File.Copy(SaveBakPath, SavePath, true);

ProjectSettings/ProjectVersion.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
m_EditorVersion: 2023.1.0b2
2-
m_EditorVersionWithRevision: 2023.1.0b2 (691c19707f2b)
1+
m_EditorVersion: 2023.1.0b3
2+
m_EditorVersionWithRevision: 2023.1.0b3 (812fe9b8f2ae)

0 commit comments

Comments
 (0)