cli/lib/rbld_reg_docker.rb in rbld-1.3.4 vs cli/lib/rbld_reg_docker.rb in rbld-1.3.5

- old
+ new

@@ -67,14 +67,11 @@ end private def trace_progress(log_item) - begin - line = JSON.parse( log_item )["progress"] - rbld_print.inplace_trace( line ) if line - rescue - end + line = Rebuild::Utils::SafeJSONParser.new( log_item )['progress'] + rbld_print.inplace_trace( line ) if line end def parse_entry(internal_name) begin Entry.by_internal_name( internal_name )