Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
slapos.core
Commits
dec95dfc
Commit
dec95dfc
authored
May 15, 2014
by
Marco Mariani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos.cli: don't log exceptions happened during loggin configuration
because it would go nowhere. just use stderr as usual
parent
a31304cf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
slapos/cli/entry.py
slapos/cli/entry.py
+3
-3
No files found.
slapos/cli/entry.py
View file @
dec95dfc
...
@@ -176,10 +176,10 @@ class SlapOSApp(cliff.app.App):
...
@@ -176,10 +176,10 @@ class SlapOSApp(cliff.app.App):
def
run
(
self
,
argv
):
def
run
(
self
,
argv
):
# same as cliff.App.run except that it won't re-raise
# same as cliff.App.run except that it won't re-raise
# a logged exception, and doesn't use --debug
# a logged exception, and doesn't use --debug
try
:
self
.
options
,
remainder
=
self
.
parser
.
parse_known_args
(
argv
)
self
.
options
,
remainder
=
self
.
parser
.
parse_known_args
(
argv
)
self
.
configure_logging
()
self
.
configure_logging
()
self
.
interactive_mode
=
not
remainder
self
.
interactive_mode
=
not
remainder
try
:
self
.
initialize_app
(
remainder
)
self
.
initialize_app
(
remainder
)
except
Exception
as
err
:
except
Exception
as
err
:
LOG
.
exception
(
err
)
LOG
.
exception
(
err
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment