I was trying so hard that it made me frustrated. I'm taking optimistic view.
I was trying hard enough that it made me frustrated. I have an optimistic outlook.
「イライラしたのは一生懸命やっていたから、と前向きに捉える」は、
"I was trying so hard that it made me frustrated. I'm taking optimistic view."
"I was trying hard enough that it made me frustrated. I have an optimistic outlook."
「前向きに捉える」は、
"take/have an optimistic view"
"have an optimistic outlook"
ご参考になれば幸いです。