mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-15 01:01:20 +10:00
feat: partial user platform support + statusMessage -> message
This commit is contained in:
@ -125,7 +125,7 @@ async function complete(code: string) {
|
||||
} catch (e) {
|
||||
if (e instanceof FetchError) {
|
||||
error.value =
|
||||
e.statusMessage ?? e.message ?? "An unknown error occurred.";
|
||||
e.message ?? "An unknown error occurred.";
|
||||
} else {
|
||||
error.value = (e as string)?.toString();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user