Skip to content

Commit

Permalink
Fixes #1032
Browse files Browse the repository at this point in the history
  • Loading branch information
ugol-1 committed Sep 15, 2024
1 parent dbf697d commit 1eab229
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
*pyc
.vscode/
*/doc/generated

build
log
install
Original file line number Diff line number Diff line change
Expand Up @@ -214,14 +214,14 @@ def check_set_camera_info(self, response):
for i in range(10):
print("!" * 80)
print()
print("Attempt to set camera info failed: " + response.result()
if response.result() is not None else "Not available")
print("Attempt to set camera info failed: " + response.status_message
if response.status_message is not None else "Not available")
print()
for i in range(10):
print("!" * 80)
print()
self.get_logger().error('Unable to set camera info for calibration. Failure message: %s' %
response.result() if response.result() is not None else "Not available")
response.status_message if response.status_message is not None else "Not available")
return False

def do_upload(self):
Expand Down

0 comments on commit 1eab229

Please sign in to comment.