Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

koatty_exception

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

koatty_exception - npm Package Compare versions

Comparing version 1.4.1 to 1.4.2

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

### [1.4.2](https://github.com/koatty/koatty_exception/compare/v1.4.1...v1.4.2) (2024-03-15)
### Bug Fixes
* code非正常值导致grpc无输出 ([3bfabd1](https://github.com/koatty/koatty_exception/commit/3bfabd1a60dc6454b3dd7c3b05bc87d86806e81c))
### [1.4.1](https://github.com/koatty/koatty_exception/compare/v1.4.0...v1.4.1) (2024-03-15)

@@ -7,0 +14,0 @@

2

dist/index.d.ts
/*!
* @Author: richen
* @Date: 2024-03-15 10:34:22
* @Date: 2024-03-15 10:45:29
* @License: BSD (3-Clause)

@@ -5,0 +5,0 @@ * @Copyright (c) - <richenlin(at)gmail.com>

/*!
* @Author: richen
* @Date: 2024-03-15 10:34:06
* @Date: 2024-03-15 10:45:17
* @License: BSD (3-Clause)

@@ -651,2 +651,3 @@ * @Copyright (c) - <richenlin(at)gmail.com>

super(message);
this.status = 500;
this.code = 1;

@@ -741,3 +742,3 @@ this.setCode(code);

// http status convert to grpc status
if (!this.code) {
if (this.code < 2) {
this.code = StatusCodeConvert(ctx.status);

@@ -744,0 +745,0 @@ }

{
"name": "koatty_exception",
"version": "1.4.1",
"version": "1.4.2",
"description": "Exception handler for koatty.",

@@ -5,0 +5,0 @@ "scripts": {

{
"name": "koatty_exception",
"version": "1.4.1",
"version": "1.4.2",
"description": "Exception handler for koatty.",

@@ -5,0 +5,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc