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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Boxiang Sun
slapos.core
Commits
0c41d529
Commit
0c41d529
authored
Jun 06, 2022
by
Boxiang Sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use repr to get the error_log content
parent
283534f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
slapos/slap/slap.py
slapos/slap/slap.py
+2
-2
No files found.
slapos/slap/slap.py
View file @
0c41d529
...
@@ -173,11 +173,11 @@ class SoftwareRelease(SlapDocument):
...
@@ -173,11 +173,11 @@ class SoftwareRelease(SlapDocument):
logger
.
info
(
'Boxiang debug: url: %s'
,
self
.
getURI
())
logger
.
info
(
'Boxiang debug: url: %s'
,
self
.
getURI
())
logger
.
info
(
'Boxiang debug: computer_id: %s'
,
self
.
getComputerId
())
logger
.
info
(
'Boxiang debug: computer_id: %s'
,
self
.
getComputerId
())
logger
.
info
(
'Boxiang debug: error_log: %s'
,
repr
(
error_log
))
logger
.
info
(
'Boxiang debug: error_log: %s'
,
repr
(
error_log
))
a
=
st
r
(
error_log
)
a
=
rep
r
(
error_log
)
self
.
_connection_helper
.
POST
(
'softwareReleaseError'
,
data
=
{
self
.
_connection_helper
.
POST
(
'softwareReleaseError'
,
data
=
{
'url'
:
self
.
getURI
(),
'url'
:
self
.
getURI
(),
'computer_id'
:
self
.
getComputerId
(),
'computer_id'
:
self
.
getComputerId
(),
'error_log'
:
error_log
})
'error_log'
:
repr
(
error_log
)
})
except
Exception
:
except
Exception
:
(
logger
or
fallback_logger
).
exception
(
''
)
(
logger
or
fallback_logger
).
exception
(
''
)
...
...
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