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
1605f896
Commit
1605f896
authored
Jun 06, 2022
by
Boxiang Sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove the custom loggger
parent
0c41d529
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
slapos/slap/slap.py
slapos/slap/slap.py
+3
-4
No files found.
slapos/slap/slap.py
View file @
1605f896
...
@@ -170,10 +170,9 @@ class SoftwareRelease(SlapDocument):
...
@@ -170,10 +170,9 @@ class SoftwareRelease(SlapDocument):
def
error
(
self
,
error_log
,
logger
=
None
):
def
error
(
self
,
error_log
,
logger
=
None
):
try
:
try
:
# Does not follow interface
# Does not follow interface
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
=
repr
(
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
(),
...
...
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