message: [FIX] Try/catch JSON.parse XHR response
diff: @@ -112,8 +112,12 @@ export function sendFileMessage(rid, fileInfo, tmid, server, user) {
  } catch (e) {
  log(e);
  }
  + try {
  const response = JSON.parse(xhr.response);
  reject(response);
  + } catch (e) {
  + reject(e);
  + }
  }
  };
  