xshell 1.0.32 → 1.0.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/server.js +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xshell",
3
- "version": "1.0.32",
3
+ "version": "1.0.33",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "bin": {
package/server.js CHANGED
@@ -244,7 +244,8 @@ export class Server {
244
244
  response.body = Readable.fromWeb(response_.body);
245
245
  }
246
246
  catch (error) {
247
- console.log(error);
247
+ if (error.status !== 404)
248
+ console.log(error);
248
249
  if (error.response) {
249
250
  const { status, headers, text } = error.response;
250
251
  response.status = status;