add missing context to two unmarshal errors
Returning a json or gob error directly to the user is generally not helpful, as it lacks any form of context. For example, from the json unmarshal of "go env -json": $ garble build invalid character 'w' looking for beginning of value Also improve the error when the user ran garble in the wrong way, resulting in no shared gob file. The context is now shorter, and we also include the os.Open error in case it contains any useful details. While here, apply Go tip's gofmt, which reformatted a godoc list. For #523.pull/527/head
							parent
							
								
									20ff64128e
								
							
						
					
					
						commit
						e3a59eae07
					
				
					Loading…
					
					
				
		Reference in New Issue