mirror of
https://github.com/j-a-n/raspberrymatic-addon-rmupdate.git
synced 2023-10-10 11:37:40 +00:00
Fix errorcode status
This commit is contained in:
@@ -234,7 +234,7 @@ variable content_type "application/json"
|
||||
|
||||
if [catch {process} result] {
|
||||
set status 500
|
||||
if { $errorCode != "NONE" } {
|
||||
if { [regexp {^\d+$} $errorCode ] } {
|
||||
set status $errorCode
|
||||
}
|
||||
puts "Content-Type: ${content_type}"
|
||||
|
Reference in New Issue
Block a user