У тебя ведь есть текст ошибки, который легко загуглить
Код:
UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
В твоём коде есть асинхронный вызов, который завершается исключением, которое не обрабатывается в try/catch блоке.
Yes, but I wasn't able to understand anything from google tbh. I'll take a look at the link you've sent and get back to you if I need any help. Also is there any way I can solve that crashing issue? I'm not a developer, however, I'd like to learn from any mistakes I've made in this situation.
Here's the crash log I had in my cef_game_logs text file:
[0123/000304.693:INFO:render_frame_host_impl.cc(11505)] RenderFrameHostImpl::MaybeGenerateCrashReport url = rui://main/index.html, status = 4, exit_code = 258
[0123/000304.702:INFO:render_frame_host_impl.cc(11505)] RenderFrameHostImpl::MaybeGenerateCrashReport url = mp://ui/index.html, status = 4, exit_code = 258
[0123/102742.522:INFO:render_frame_host_impl.cc(11505)] RenderFrameHostImpl::MaybeGenerateCrashReport url = rui://main/index.html, status = 4, exit_code = 258
[0123/102742.532:INFO:render_frame_host_impl.cc(11505)] RenderFrameHostImpl::MaybeGenerateCrashReport url = mp://ui/index.html, status = 4, exit_code = 258
[0123/102742.534:INFO:render_frame_host_impl.cc(11505)] RenderFrameHostImpl::MaybeGenerateCrashReport url =
https://cdn-ra3.ragemp.su/soundapi/index.html, status = 4, exit_code = 258
[0123/102742.536:INFO:render_frame_host_impl.cc(11505)] RenderFrameHostImpl::MaybeGenerateCrashReport url = package://gui/index.html, status = 4, exit_code = 258
Is there anything that can be done to fix this?