mirror of
https://github.com/wassname/talk.git
synced 2026-06-27 18:07:26 +08:00
[next] Error and Logging Improvements (#2152)
* feat: added locale support for Tenant * feat: added secret scrubbing to logs * chore: cleanup logger * chore: logger improvements * feat: re-introduce scoped pretty logger * feat: added initial error support * refactor: replace trace-error.TraceError with talk.InternalError * fix: fixed error logging * refactor: replaced Error with VError * fix: repaired issue with error management on api * fix: patched bug with not found handler * feat: added translations * feat: added location path to invalid entries * refactor: refactored error handling on graph * fix: moved indexing operations to master node * refactor: added throw for when the message isn't found in testing * fix: removed duplicate log * fix: fixed naming on environment variable
This commit is contained in:
+10
-7
@@ -23,13 +23,16 @@ gulp.task("server:schema", () => generateTypescriptTypes());
|
||||
|
||||
gulp.task("server:scripts", () =>
|
||||
gulp
|
||||
.src([
|
||||
"./src/**/*.ts",
|
||||
"./src/**/.*.ts",
|
||||
// Exclude client files from this, that's for webpack.
|
||||
"!./src/core/client/**/*.ts",
|
||||
"!./src/core/client/**/.*.ts",
|
||||
])
|
||||
.src(
|
||||
[
|
||||
"./src/**/*.ts",
|
||||
"./src/**/.*.ts",
|
||||
// Exclude client files from this, that's for webpack.
|
||||
"!./src/core/client/**/*.ts",
|
||||
"!./src/core/client/**/.*.ts",
|
||||
],
|
||||
{ base: "src" }
|
||||
)
|
||||
.pipe(sourcemaps.init())
|
||||
.pipe(tsProject())
|
||||
.pipe(
|
||||
|
||||
Reference in New Issue
Block a user