From 764096a0b2deed0d637a13941157abf732eb7635 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 16 Feb 2016 10:08:12 -0700 Subject: [PATCH] always show not ok error --- lib/get-certificate.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/get-certificate.js b/lib/get-certificate.js index 926188d..abe62d8 100644 --- a/lib/get-certificate.js +++ b/lib/get-certificate.js @@ -83,6 +83,9 @@ module.exports.create = function (deps) { err.type = body.type err.description = body; err.detail = body.detail; + console.error("TODO: modules which depend on this module should expose this error properly but since some of them don't, I expose it here directly:"); + console.error(err.stack); + console.error(body); throw err; }