mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-27 06:45:49 +03:00
Log error code as hex
This commit is contained in:
parent
44175aca94
commit
8796f25994
1 changed files with 1 additions and 1 deletions
|
@ -341,7 +341,7 @@ void Utility::UnixTimeToLargeIntegerFiletime(time_t t, LARGE_INTEGER *hundredNSe
|
||||||
|
|
||||||
QString Utility::formatWinError(long errorCode)
|
QString Utility::formatWinError(long errorCode)
|
||||||
{
|
{
|
||||||
return QStringLiteral("WindowsError: %1: %2").arg(QString::number(errorCode), QString::fromWCharArray(_com_error(errorCode).ErrorMessage()));
|
return QStringLiteral("WindowsError: %1: %2").arg(QString::number(errorCode, 16), QString::fromWCharArray(_com_error(errorCode).ErrorMessage()));
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace OCC
|
} // namespace OCC
|
||||||
|
|
Loading…
Reference in a new issue