Mariusz Nowak
2011649537
refactor: Remove injustified "eslint-disable" comments
2021-04-02 15:05:03 +02:00
Mariusz Nowak
87790e50bd
refactor: Seclude ServerlessError into lib/serverless-error.js
2021-01-11 19:39:42 +01:00
Mariusz Nowak
847fa3412d
feat: Seclude main error handler to standalone util
2021-01-08 15:06:14 +01:00
Mariusz Nowak
cf7b25e458
style: Upgrade "prettier" to v2
2021-01-04 16:21:24 +01:00
Mariusz Nowak
246e4a6756
feat(Analytics): Introduce "isLocallyInstalled" characteristics
2020-09-02 13:04:59 +02:00
Mariusz Nowak
cf1d51dbb9
refactor(CLI): Cleanup components resolution logic
2020-07-22 09:39:35 +02:00
Mariusz Nowak
e1092aff44
refactor: Drop sentry reporting as it's not used
2020-05-07 14:43:04 +02:00
Mariusz Nowak
7b0c18eded
fix(Components): Handle gently initialization errors
2020-04-08 22:28:50 +12:00
Eslam λ Hefnawy
0ed52f61de
feat: Support Cloud Components ( #7390 )
2020-02-27 11:19:06 +13:00
Mariusz Nowak
f6c51796f8
refactor: Convert statusCode to code error parameter
2020-01-21 13:20:02 +01:00
Mariusz Nowak
59bea09dad
feat: Recognise as standalone
2019-12-18 09:36:52 +01:00
Mariusz Nowak
9db2e1904d
refactor: Cleanup variables
2019-12-18 09:36:52 +01:00
Eslam A. Hefnawy
792a5fb4b1
added components versions
2019-09-18 14:49:30 +03:00
Mariusz Nowak
b8118c44a2
Fix ServerlessError definition
...
So message in all cases turns as 'string'
2019-08-23 18:35:17 +02:00
Mariusz Nowak
0e1afb1c52
Reorganize export
2019-08-23 18:03:41 +02:00
Mariusz Nowak
418d4e4ae9
Improve multiline message output
2019-08-23 13:50:50 +02:00
Mariusz Nowak
87faf71920
Clear confusing wording
2019-08-06 22:00:03 +02:00
Mariusz Nowak
ae77dbeaa0
Recognize YAMLException as user error
2019-08-06 14:14:07 +02:00
Mariusz Nowak
b3f06b8b1f
Do not duplicate error message output
2019-08-06 14:14:04 +02:00
Mariusz Nowak
7ce351e084
Log uncaught exceptions
2019-08-06 13:44:43 +02:00
Mariusz Nowak
406d4c713a
Expose stack trace for non user errors
2019-08-06 13:44:15 +02:00
Mariusz Nowak
80e6ad5fb7
Recognize isUserError variable
2019-08-06 13:44:15 +02:00
Mariusz Nowak
ee091fb91c
Show SLS_DEBUG info only when it's not used
2019-08-06 13:44:14 +02:00
Mariusz Nowak
18dfb69e31
Improve non-error exception handling
2019-08-06 13:44:10 +02:00
Mariusz Nowak
5e57ad365e
Improve variable name
2019-08-06 13:02:01 +02:00
Mariusz Nowak
77432a0e07
Improve variable name
2019-08-06 13:02:01 +02:00
Mariusz Nowak
11cb305329
Improve variable name
2019-08-06 13:02:00 +02:00
Mariusz Nowak
f8fc8d9730
Ensure to not crash with logged error
2019-07-19 17:14:03 +02:00
Mariusz Nowak
c8709af12e
Do not do forced process exits
2019-07-18 19:36:07 +02:00
Philipp Muens
084cee4538
Merge pull request #6345 from domcorvasce/master
...
Add SLS_NO_WARNINGS env var
2019-07-16 12:49:39 +02:00
Dom Corvasce
38f42dfb5c
Rename SLS_NO_WARNINGS to SLS_WARNING_DISABLE
2019-07-10 11:52:05 +02:00
Daniel Schep
dafbf82056
prettier & dep bump
2019-07-08 16:20:07 -04:00
Dom Corvasce
508ed78442
Add SLS_NO_WARNINGS to hide warnings
2019-07-08 18:27:16 +02:00
Daniel Schep
9559afbc39
Merge remote-tracking branch 'origin/master' into sfe-version-info
2019-07-08 12:10:17 -04:00
Daniel Schep
92bd3fd814
SFE plugin & sdk version info
...
in both `--version` and error output
2019-07-05 14:58:13 -04:00
Mariusz Nowak
e11cc2c51b
Ensure to expose non-errors in informative way
2019-06-28 15:19:53 +02:00
Mariusz Nowak
223a7d845e
Whitespace
2019-06-28 14:51:06 +02:00
Mariusz Nowak
e6ae8983de
Fix lint issues after prettification
2019-06-26 12:43:01 +02:00
Mariusz Nowak
4944f471b1
Prettify
2019-06-26 12:43:01 +02:00
Dave Nicolson
9d26b00ddb
Align error logging length
2019-03-18 11:52:59 +01:00
Erik Erikson
0b97b74be4
Improve messaging and formatting of pending promise warnings
...
Add explanatory text:
```
This can result from latent connections but may represent a cyclic
variable dependency
```
Also, rather than messages such as:
```
Serverless Information ----------------------------------
##########################################################################################
Serverless Information ----------------------------------
# 0: 0 of 2 promises have settled
Serverless Information ----------------------------------
# 0: 2 unsettled promises:
Serverless Information ----------------------------------
# 0: foo waited on by: ${foo:}
Serverless Information ----------------------------------
# 0: foo waited on by: ${foo:}
Serverless Information ----------------------------------
##########################################################################################
```
Collate the message to read like:
```
Serverless Information ----------------------------------
##########################################################################################
# 0: 0 of 2 promises have settled
# 0: 2 unsettled promises:
# 0: foo waited on by: ${foo:}
# 0: foo waited on by: ${foo:}
# This can result from latent connections but may represent a cyclic
variable dependency
##########################################################################################
```
2018-07-23 17:03:34 -07:00
David Wells
88b0f3ad3f
Update Error.js
2018-03-27 16:22:25 -07:00
Alexey Kotlyarov
d5dc0cbf4b
Do not explicitly color messages in white
...
On white background terminals, white text is unreadable. Use the default
terminal color instead.
Fixes #4673
2018-01-29 19:33:35 +11:00
davidwells
49bb502def
clean up logic
2017-05-26 17:00:52 -07:00
davidwells
dd6bd18df8
remove config require
2017-05-26 16:35:34 -07:00
davidwells
f841739416
check if sentry installed before calling
2017-05-26 16:35:14 -07:00
davidwells
37334c493c
update error tracking
2017-05-26 16:17:59 -07:00
davidwells
32bd714d43
update sentry
2017-05-25 17:17:20 -07:00
davidwells
ec45c075f8
fix lint
2017-05-25 13:58:31 -07:00
davidwells
3d5f2565bc
update linting
2017-05-25 13:58:31 -07:00