hirosystems/stacks.js

fix empty error string

janniks opened this issue · 0 comments

const msg = await response.text().catch(() => '');

Often shows an empty string in error logs, we should change this to show a different message on empty message.

Ref: #1623 (comment)