mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-07-25 20:26:38 +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) {
|
} catch (e) {
|
||||||
this.responseService.appendToOutput({
|
this.responseService.appendToOutput({
|
||||||
chunk: `Compilation error: ${e}\n`,
|
chunk: `Compilation error: ${e.details}\n`,
|
||||||
severity: 'error',
|
severity: 'error',
|
||||||
});
|
});
|
||||||
throw e;
|
throw e;
|
||||||
@ -169,7 +169,7 @@ export class CoreServiceImpl extends CoreClientAware implements CoreService {
|
|||||||
});
|
});
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
this.responseService.appendToOutput({
|
this.responseService.appendToOutput({
|
||||||
chunk: `${firstToUpperCase(task)} error: ${e}\n`,
|
chunk: `${firstToUpperCase(task)} error: ${e.details}\n`,
|
||||||
severity: 'error',
|
severity: 'error',
|
||||||
});
|
});
|
||||||
throw e;
|
throw e;
|
||||||
@ -214,7 +214,7 @@ export class CoreServiceImpl extends CoreClientAware implements CoreService {
|
|||||||
});
|
});
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
this.responseService.appendToOutput({
|
this.responseService.appendToOutput({
|
||||||
chunk: `Error while burning the bootloader: ${e}\n`,
|
chunk: `Error while burning the bootloader: ${e.details}\n`,
|
||||||
severity: 'error',
|
severity: 'error',
|
||||||
});
|
});
|
||||||
throw e;
|
throw e;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user