mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-07-24 11:46:32 +00:00
Remove gRPC errors codes from compile/upload console output (#564)
This commit is contained in:
parent
99d65531c4
commit
3b04d8df26
@ -84,7 +84,7 @@ export class CoreServiceImpl extends CoreClientAware implements CoreService {
|
||||
});
|
||||
} catch (e) {
|
||||
this.responseService.appendToOutput({
|
||||
chunk: `Compilation error: ${e}\n`,
|
||||
chunk: `Compilation error: ${e.details}\n`,
|
||||
severity: 'error',
|
||||
});
|
||||
throw e;
|
||||
@ -169,7 +169,7 @@ export class CoreServiceImpl extends CoreClientAware implements CoreService {
|
||||
});
|
||||
} catch (e) {
|
||||
this.responseService.appendToOutput({
|
||||
chunk: `${firstToUpperCase(task)} error: ${e}\n`,
|
||||
chunk: `${firstToUpperCase(task)} error: ${e.details}\n`,
|
||||
severity: 'error',
|
||||
});
|
||||
throw e;
|
||||
@ -214,7 +214,7 @@ export class CoreServiceImpl extends CoreClientAware implements CoreService {
|
||||
});
|
||||
} catch (e) {
|
||||
this.responseService.appendToOutput({
|
||||
chunk: `Error while burning the bootloader: ${e}\n`,
|
||||
chunk: `Error while burning the bootloader: ${e.details}\n`,
|
||||
severity: 'error',
|
||||
});
|
||||
throw e;
|
||||
|
Loading…
x
Reference in New Issue
Block a user