improve error messages
This commit is contained in:
@@ -235,7 +235,7 @@ const CompositionPanel: FC = observer(() => {
|
||||
},
|
||||
async onopen(response) {
|
||||
if (response.status !== 200) {
|
||||
toast(response.statusText + '\n' + (await response.text()), {
|
||||
toast(response.status + ' - ' + response.statusText + ' - ' + (await response.text()), {
|
||||
type: 'error'
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user