# Customize processor.py

**URL:** <https://forum.rasa.com/t/customize-processor-py/33591>\
**Category:** Rasa Open Source\
**Created:** [September 10, 2020, 1:38am UTC](https://forum.rasa.com/t/customize-processor-py/33591 "2020-09-10T01:38:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sahrutha](https://avatars.discourse-cdn.com/v4/letter/s/a4c791/32.png) [@sahrutha](https://forum.rasa.com/u/sahrutha)\
**Post date:** [September 10, 2020, 1:38am UTC](https://forum.rasa.com/t/customize-processor-py/33591/1 "2020-09-10T01:38:16Z")

</div>

Hai,

For a requirement, I want to customize the processor.py handle\_message method. Can anybody tell me how to override the OOB processor.py?

---

<div class="post-metadata">

**Author:** ![mloubser](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/mloubser/32/13021_2.png) [@mloubser](https://forum.rasa.com/u/mloubser)\
**Post date:** [September 11, 2020, 12:58pm UTC](https://forum.rasa.com/t/customize-processor-py/33591/2 "2020-09-11T12:58:14Z")

</div>

If you want to customize it, you can fork the project and change whatever you’d like. As to specifcally what to do, that will depend on what you are trying to accomplish. What do you want to change?

---

<div class="post-metadata">

**Author:** ![sahrutha](https://avatars.discourse-cdn.com/v4/letter/s/a4c791/32.png) [@sahrutha](https://forum.rasa.com/u/sahrutha)\
**Post date:** [September 16, 2020, 6:04am UTC](https://forum.rasa.com/t/customize-processor-py/33591/3 "2020-09-16T06:04:05Z")

</div>

I want to catch the exception in processor.py and stop retrying the running of action.

---

<div class="post-metadata">

**Author:** ![mloubser](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/mloubser/32/13021_2.png) [@mloubser](https://forum.rasa.com/u/mloubser)\
**Post date:** [September 17, 2020, 3:04pm UTC](https://forum.rasa.com/t/customize-processor-py/33591/4 "2020-09-17T15:04:22Z")

</div>

Which exception? It’s possible there’s another solution to the problem you’re facing. Can you explain it in more detail please? An example of the situation you’re trying to handle would be great too.

---

<div class="post-metadata">

**Author:** ![sahrutha](https://avatars.discourse-cdn.com/v4/letter/s/a4c791/32.png) [@sahrutha](https://forum.rasa.com/u/sahrutha)\
**Post date:** [September 18, 2020, 7:22am UTC](https://forum.rasa.com/t/customize-processor-py/33591/5 "2020-09-18T07:22:17Z")

</div>

I want to send a message to the customer when there is an exception while run action. So, I am trying to customize processor.py and catch the exception in the run action method.
