mirror of
https://github.com/grafana/grafana.git
synced 2024-11-29 04:04:00 -06:00
Tempo: Add error details when json upload fails (#41803)
This commit is contained in:
parent
9a7e411f55
commit
5cd4cde12a
@ -291,7 +291,8 @@ export function transformFromOTLP(
|
||||
}
|
||||
}
|
||||
} catch (error) {
|
||||
return { error: { message: 'JSON is not valid OpenTelemetry format' }, data: [] };
|
||||
console.error(error);
|
||||
return { error: { message: 'JSON is not valid OpenTelemetry format: ' + error }, data: [] };
|
||||
}
|
||||
|
||||
let data = [frame];
|
||||
|
Loading…
Reference in New Issue
Block a user