message: Fix error message not being shown on write error
  Changelog-entry: Fix error message not being shown on write error
  Change-type: patch
diff: @@ -227,12 +227,15 @@ export function performWrite(
  !flashResults.cancelled &&
  !_.get(flashResults, ['results', 'bytesWritten'])
  ) {
  - throw errors.createUserError({
  + reject(
  + errors.createUserError({
  title: 'The writer process ended unexpectedly',
  description:
  'Please try again, and contact the Etcher team if the problem persists',
  code: 'ECHILDDIED',
  - });
  + }),
  + );
  + return;
  }
  resolve(flashResults);
  });
  