mirror of
https://github.com/j-a-n/raspberrymatic-addon-rmupdate.git
synced 2023-10-10 11:37:40 +00:00
Improve error logging and message
This commit is contained in:
@@ -240,7 +240,7 @@ if [catch {process} result] {
|
||||
puts "Content-Type: ${content_type}"
|
||||
puts "Status: $status";
|
||||
puts ""
|
||||
set result [json_string $result]
|
||||
set result [json_string "${result} - ${::errorCode} - ${::errorInfo}"]
|
||||
puts -nonewline "\{\"error\":\"${result}\"\}"
|
||||
} else {
|
||||
puts "Content-Type: ${content_type}"
|
||||
|
Reference in New Issue
Block a user