Compare commits

..
Author SHA1 Message Date
James Turner 2621418d3a Fix a dumb back-port issue. 2021-07-22 10:11:04 +01:00
James Turner 174b341bef Don’t report HTTPRepo removeChild failures
Sentry-Id: FLIGHTGEAR-E5T
2021-07-15 10:31:28 +01:00
James Turner df33713069 Remove incorrectly added ‘version’ file 2021-07-15 08:44:08 +01:00
James Turner cde75530fe BTG reading: don’t crash on empty error message
Sentry-Id:FLIGHTGEAR-WA8
2021-07-15 08:43:31 +01:00
3 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -774,7 +774,7 @@ private:
if (!ok) {
SG_LOG(SG_TERRASYNC, SG_WARN, "removal failed for:" << path);
throw sg_io_exception("Failed to remove existing file/dir:", path);
throw sg_io_exception("Failed to remove existing file/dir:", path, "", false);
}
}
+3 -1
View File
@@ -48,9 +48,11 @@ static std::string gzErrorMessage(gzFile fd)
if (errNum == Z_ERRNO) {
return simgear::strutils::error_string(errno);
} else {
} else if (gzMsg) {
return {gzMsg};
}
return {"GZError: no string code for code:" + std::to_string(errNum)};
}
void sgReadChar ( gzFile fd, char *var )
-1
View File
@@ -1 +0,0 @@
2020.3.8