Skip to content

Commit 32610fa

Browse files
suppress an error as warning
1 parent 401568d commit 32610fa

3 files changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/unity-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,11 +149,11 @@ jobs:
149149
fi
150150
# print all files found in ~/.config/
151151
find ~/.config/ -type f -exec echo "{}" \;
152-
echo "::error:: Hub log file does not exist at any known location"
152+
echo "::warning:: Hub log file does not exist at any known location"
153153
fi
154154
155155
if [ ! -f "${PACKAGE_MANAGER_LOG_PATH}" ]; then
156-
echo "::error::Package Manager log file does not exist at ${PACKAGE_MANAGER_LOG_PATH}"
156+
echo "::warning::Package Manager log file does not exist at ${PACKAGE_MANAGER_LOG_PATH}"
157157
fi
158158
159159
if [ ! -f "${LICENSING_CLIENT_LOG_PATH}" ]; then

src/unity-logging.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ export interface LogTailResult {
3232
const remappedEditorLogs: Record<string, LogLevel> = {
3333
'OpenCL device, baking cannot use GPU lightmapper.': LogLevel.INFO,
3434
'Failed to find a suitable OpenCL device, baking cannot use GPU lightmapper.': LogLevel.INFO,
35+
'~StackAllocator(ALLOC_TEMP_MAIN) m_LastAlloc not NULL. Did you forget to call FreeAllStackAllocations()?': LogLevel.INFO,
3536
};
3637

3738
// Detects GitHub-style annotation markers to avoid emitting duplicates

src/utp/utp.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,22 +187,27 @@ export function normalizeTelemetryEntry(entry: unknown): UTP {
187187
const record = entry as Record<string, unknown>;
188188

189189
const stackTraceLegacy = record.stacktrace;
190+
190191
if (utp.stackTrace === undefined && typeof stackTraceLegacy === 'string') {
191192
utp.stackTrace = stackTraceLegacy;
192193
}
193194

194195
const fileNameLegacy = record.fileName;
196+
195197
if (utp.file === undefined && typeof fileNameLegacy === 'string') {
196198
utp.file = fileNameLegacy;
197199
}
200+
198201
if (utp.fileName === undefined && typeof utp.file === 'string') {
199202
utp.fileName = utp.file;
200203
}
201204

202205
const lineNumberLegacy = record.lineNumber;
206+
203207
if (utp.line === undefined && typeof lineNumberLegacy === 'number') {
204208
utp.line = lineNumberLegacy;
205209
}
210+
206211
if (utp.lineNumber === undefined && typeof utp.line === 'number') {
207212
utp.lineNumber = utp.line;
208213
}

0 commit comments

Comments
 (0)