Advice needed. A journal cap came off!

May be OK, Maybe you can check the crank with a dial indicator even if it looks good to test run out etc, if crank is not bent then maybe block is OK too, and can pass on a line bore etc. Polish crank and new bearing is minimum to fix it if you are lucky.

Have done this as a short term fix.