Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
senpy
senpy
Commits
bd2e0f0d
Commit
bd2e0f0d
authored
Nov 05, 2015
by
J. Fernando Sánchez
Browse files
Added traceback to plugin activation
parent
7de5b413
Changes
2
Show whitespace changes
Inline
Side-by-side
senpy/extensions.py
View file @
bd2e0f0d
...
@@ -136,6 +136,7 @@ class Senpy(object):
...
@@ -136,6 +136,7 @@ class Senpy(object):
except
Exception
as
ex
:
except
Exception
as
ex
:
logger
.
error
(
"Error activating plugin {}: {}"
.
format
(
plugin
.
name
,
logger
.
error
(
"Error activating plugin {}: {}"
.
format
(
plugin
.
name
,
ex
))
ex
))
logger
.
error
(
"Trace: {}"
.
format
(
traceback
.
format_exc
()))
th
=
gevent
.
spawn
(
act
)
th
=
gevent
.
spawn
(
act
)
th
.
link_value
(
partial
(
self
.
_set_active_plugin
,
plugin_name
,
True
))
th
.
link_value
(
partial
(
self
.
_set_active_plugin
,
plugin_name
,
True
))
if
sync
:
if
sync
:
...
...
setup.py
View file @
bd2e0f0d
...
@@ -15,7 +15,7 @@ except AttributeError:
...
@@ -15,7 +15,7 @@ except AttributeError:
install_reqs
=
[
str
(
ir
.
req
)
for
ir
in
install_reqs
]
install_reqs
=
[
str
(
ir
.
req
)
for
ir
in
install_reqs
]
test_reqs
=
[
str
(
ir
.
req
)
for
ir
in
test_reqs
]
test_reqs
=
[
str
(
ir
.
req
)
for
ir
in
test_reqs
]
VERSION
=
"0.4.
9
"
VERSION
=
"0.4.
10rc
"
setup
(
setup
(
name
=
'senpy'
,
name
=
'senpy'
,
...
...
Write
Preview
Supports
Markdown
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