adasd
This commit is contained in:
@@ -145,7 +145,8 @@
|
||||
const code = err.http_code ? `HTTP ${err.http_code}` : 'HTTP ?';
|
||||
const scope = err.scope || 'request';
|
||||
const msg = err.error || 'error';
|
||||
return `${scope}: ${msg} (${code})`;
|
||||
const hint = err.hint ? `, Hint: ${typeof err.hint === 'string' ? err.hint : JSON.stringify(err.hint)}` : '';
|
||||
return `${scope}: ${msg} (${code}${hint})`;
|
||||
});
|
||||
errorEl.textContent = `API Fehler: ${lines.join(' | ')}`;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user