add SPDX
This commit is contained in:
parent
5428019061
commit
f82dfdfbd2
|
|
@ -1,3 +1,8 @@
|
||||||
|
/*
|
||||||
|
* SPDX-FileCopyrightText: MomentQYC and other misskey contributors
|
||||||
|
* SPDX-License-Identifier: AGPL-3.0-only
|
||||||
|
*/
|
||||||
|
|
||||||
export function ErrorHandling(message: string): Error {
|
export function ErrorHandling(message: string): Error {
|
||||||
const error = new Error(message);
|
const error = new Error(message);
|
||||||
if (process.env.NODE_ENV === 'production') {
|
if (process.env.NODE_ENV === 'production') {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue