b145362281 add a new internal hook to save ssh log (#15787)
* add a new internal hook to save ssh log

as title, when a ssh error ocure like #15785.
only when switch ``RUN_MODE`` to dev can we
found which error is ocure. But this way is
not a good idea for production envirment.

this changes try save ssh error mesage to the
log file like other log by a new internal hook.
I think it's usefull for find error message
in production envirment. Thanks.

Signed-off-by: a1012112796 <[email protected]>

* rename and fix nit

* Update modules/private/hook.go

Co-authored-by: silverwind <[email protected]>

Co-authored-by: techknowlogick <[email protected]>
Co-authored-by: silverwind <[email protected]>
Co-authored-by: techknowlogick <[email protected]>
2021-05-21 17:37:16 -04:00
2021-03-22 05:04:19 +01:00
S
Description
No description provided
Apache-2.0
9.6 MiB
Languages
TypeScript 42.4%
MDX 30.9%
Astro 8.1%
JavaScript 6.4%
Shell 6%
Other 6.2%