diff --git a/cli/src/adapter.ts b/cli/src/adapter.ts index 01acd64b9..3c3acc29e 100644 --- a/cli/src/adapter.ts +++ b/cli/src/adapter.ts @@ -116,7 +116,9 @@ export function hashHandler() { console.dir(adapterWithCorrectHash, { depth: null }) } catch (e) { console.error('Adapter hash could not be computed. Reason:') - console.error(e.message) + const errMsg = e?.response?.data?.message ? e.response.data.message : e.message + + console.error(errMsg) } } return wrapper