What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Hello, I am working with OMS right now and found something strange. Even if OMS command handler thro

USZB5JN4W
USZB5JN4W Posts: 112 🧑🏻‍🚀 - Cadet

Hello,
I am working with OMS right now and found something strange. Even if OMS command handler throws exception, I see “success” page in the checkout. In the vendor/spryker/oms/src/Spryker/Zed/Oms/Business/OmsFacadeInterface.php:380 doc it’s written, that it should return null in case of error, but it always returns at least empty array. In the \Spryker\Zed\Oms\Business\OrderStateMachine\OrderStateMachine::runCommand I see that it just logs exception and goes further.
Is it a bug, or feature?
Can iI check somehow if there was any error in the OMS?

Comments

  • U01LKKBK97T
    U01LKKBK97T Posts: 287 🧑🏻‍🚀 - Cadet

    You can check db table spy_oms_transition_log , it's having columns error_message and is_error.