OpenAI: improved error handling

This commit is contained in:
M66B
2023-03-10 08:12:35 +01:00
parent ab034efaec
commit 1bbafc8b7d
2 changed files with 24 additions and 3 deletions

View File

@@ -2510,7 +2510,7 @@ public class FragmentCompose extends FragmentBase {
@Override
protected void onException(Bundle args, Throwable ex) {
Log.unexpectedError(getParentFragmentManager(), ex);
Log.unexpectedError(getParentFragmentManager(), ex, !(ex instanceof IOException));
}
}.execute(this, args, "openai");
}