Skip to content

Conversation

@ksaric
Copy link
Contributor

@ksaric ksaric commented May 15, 2018

https://iohk.myjetbrains.com/youtrack/issue/CO-290

This should implement the new template we require for the batch processing as discussed here - https://input-output-rnd.slack.com/archives/CAD19ENDP/p1526381935000032

To try it out:

stack ghci

λ> let knowledge = Knowledge mempty LogAnalysis.Types.NetworkError mempty mempty "234"
λ> import Data.Map
λ> let analysis = singleton knowledge ["Network.Socket.recvBuf: resource vanished"]
λ> prettyFormatAnalysis analysis
"Dear user,\n\nThank you for contacting the IOHK Technical Support Desk. We appologize for the delay in responding to you. We have analyzed the log that you submitted and it appears that your issue is addressed in the Daedalus FAQ in Issue 234. Please go to https://daedaluswallet.io/faq/ and check Issue 234 to resolve your problem.\nPlease let us know if your issue is resolved. If you are still having trouble please reply back to this email and attach a new log file so that we can work with you to fix your problem.\nThanks, \nThe IOHK Technical Support Desk Team\n"

We will add the tests after we have this working since we have to shuffle quite a lot of things around.
The issue mapping is here (https://input-output-rnd.slack.com/archives/CAD19ENDP/p1526384148000046) and requires additional feedback.

@ksaric ksaric requested a review from HirotoShioi May 15, 2018 12:09
@HirotoShioi
Copy link
Contributor

I reviewed it, everything looks very nice! I'll be happy to merge it.

@HirotoShioi HirotoShioi merged commit aed3ee7 into master May 18, 2018
@ksaric ksaric deleted the ksaric/CO-290 branch May 18, 2018 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants