🐛 fix(ClipViewRemote.tsx, NotifViewRemote.tsx): change error toast message to stringify response for better error visibility
Some checks failed
Building APK / build-apk (push) Has been cancelled
Some checks failed
Building APK / build-apk (push) Has been cancelled
This commit is contained in:
parent
e3fec5d0bd
commit
a1f46812ab
@ -31,7 +31,7 @@ export default function ClipViewRemote() {
|
||||
toast.show('fetched latest clips from remote');
|
||||
})
|
||||
.catch(response => {
|
||||
toast.show(response);
|
||||
toast.show(JSON.stringify(response));
|
||||
toast.show('failed to fetch latest clips');
|
||||
});
|
||||
}
|
||||
|
@ -32,7 +32,7 @@ export default function NotifViewRemote() {
|
||||
toast.show('fetched latest notifications from remote');
|
||||
})
|
||||
.catch(response => {
|
||||
toast.show(response);
|
||||
toast.show(JSON.stringify(response));
|
||||
toast.show('failed to fetch latest notifications');
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user