kevinohara80/dmc

Compile Errors on tooling deploy don't render

Closed this issue · 1 comments

Actual

Running a deploy on an Apex Class that triggers compile errors does not list the individual compiler errors

Expected

Individual compile errors should be logged in a human-friendly fashion

Example

dmc] using org: dev1 (default)
[dmc] searching for local metadata
[dmc] deploying 1 metadata files
[dmc] loading related metadata ids
[dmc] loaded 1 ids
[dmc] creating stub files
[dmc] created 0 stub files
[dmc] creating static resources
[dmc] deployed 0 static resources
[dmc] creating container
[dmc] [create]  metadata container: 1dcd0000000H9KqAAK
[dmc] [create]  container member: ApexClass::LeaderboardController
[dmc] Deploying...
[dmc] * deploy status: Queued
[dmc] * deploy status: Queued
[dmc] * deploy status: Queued
[dmc] * deploy status: Failed
[err] CompilerErrors
[dmc] [delete]  metadata container: 1dcd0000000H9KqAAK
[err] Compiler Errors
Error: Compiler Errors
    at /Users/kevinohara/dev/node/dmc/commands/deploy.js:211:25
    at /Users/kevinohara/dev/node/dmc/node_modules/nforce-tooling/index.js:193:26
    at Object.resolve (/Users/kevinohara/dev/node/dmc/node_modules/nforce/lib/promises.js:25:20)
    at processResponse (/Users/kevinohara/dev/node/dmc/node_modules/nforce/index.js:999:25)
    at Request._callback (/Users/kevinohara/dev/node/dmc/node_modules/nforce/index.js:1054:7)
    at Request.self.callback (/Users/kevinohara/dev/node/dmc/node_modules/nforce/node_modules/request/request.js:198:22)
    at Request.emit (events.js:110:17)
    at Request.<anonymous> (/Users/kevinohara/dev/node/dmc/node_modules/nforce/node_modules/request/request.js:1057:14)
    at Request.emit (events.js:129:20)
    at IncomingMessage.<anonymous> (/Users/kevinohara/dev/node/dmc/node_modules/nforce/node_modules/request/request.js:1003:12)
    at IncomingMessage.emit (events.js:129:20)
    at _stream_readable.js:908:16
    at process._tickCallback (node.js:355:11)
[err] [NOT OK]

This was fixed in 416c19b