mirror of
https://github.com/fluent/fluentd-ui.git
synced 2025-08-11 16:57:11 +02:00
Handle API error
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
This commit is contained in:
parent
9b0abd9338
commit
ef9c554b74
@ -137,6 +137,8 @@ $(document).ready(() => {
|
||||
this.updateHighlightedLines(result.matches)
|
||||
},
|
||||
(error) => {
|
||||
this.highlightedLines = null
|
||||
console.error(error.responseText)
|
||||
if (error.stack) {
|
||||
console.error(error.stack)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user