-
Notifications
You must be signed in to change notification settings - Fork 915
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kedro-telemetry
: Improve performance by switching to after_command_…
…run (#4014) * Tentative fix for the hook issue Signed-off-by: Laura Couto <[email protected]> * Add variable to track if hook was called already Signed-off-by: Laura Couto <[email protected]> * Properly set exit code when there is an exception Signed-off-by: Laura Couto <[email protected]> * Add test coverage for exception on after_command_hook Signed-off-by: Laura Couto <[email protected]> * Add test for the finally block Signed-off-by: Laura Couto <[email protected]> * Remove redundant logger configuration on cli.py Signed-off-by: Laura Couto <[email protected]> * Add minimal required logger config to sned messages to stderr Signed-off-by: Laura Couto <[email protected]> * Call sys.exit only once Signed-off-by: Laura Couto <[email protected]> * Lint Signed-off-by: Laura Couto <[email protected]> * Remove comment Signed-off-by: Laura Couto <[email protected]> * Move exit into exception block Signed-off-by: Laura Couto <[email protected]> * Change test Signed-off-by: Laura Couto <[email protected]> --------- Signed-off-by: Laura Couto <[email protected]>
- Loading branch information
Showing
2 changed files
with
54 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters