Removed exception thrown in compare util and instead assume two objects dont match (!324)

Co-authored-by: clodan <clodan@clodan.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/324
Co-authored-by: Alex <clodan@noreply.dev.sp-tarkov.com>
Co-committed-by: Alex <clodan@noreply.dev.sp-tarkov.com>
This commit is contained in:
Alex 2024-05-05 11:33:18 +00:00 committed by chomp
parent 6d8311150e
commit c552c7ad67

View File

@ -57,6 +57,7 @@ export class CompareUtil
{ {
return v1 === v2; return v1 === v2;
} }
throw new Error(`could not detect type match for ${typeOfv1} and ${typeOfv2}`);
return false;
} }
} }