mirror of
https://github.com/fluent/fluentd-ui.git
synced 2025-08-12 01:07:09 +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)
|
this.updateHighlightedLines(result.matches)
|
||||||
},
|
},
|
||||||
(error) => {
|
(error) => {
|
||||||
|
this.highlightedLines = null
|
||||||
|
console.error(error.responseText)
|
||||||
if (error.stack) {
|
if (error.stack) {
|
||||||
console.error(error.stack)
|
console.error(error.stack)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user