@@ -9,7 +9,7 @@ module Read =
99 ( msgCount : int )
1010 : Async < Result < ReadAllPage , string >> =
1111 ReadRaw.readFromAllStream store readingDirection startPositionInclusive msgCount
12- |> ExceptionsHandler.simpleExceptionHandler
12+ |> ExceptionsHandler.asyncExceptionHandler
1313
1414 let readFromStream ( store : SqlStreamStore.IStreamStore )
1515 ( readingDirection : ReadingDirection )
@@ -18,15 +18,15 @@ module Read =
1818 ( msgCount : int )
1919 : Async < Result < ReadStreamPage , string >> =
2020 ReadRaw.readFromStream store readingDirection streamName readVersion msgCount
21- |> ExceptionsHandler.simpleExceptionHandler
21+ |> ExceptionsHandler.asyncExceptionHandler
2222
2323 let readFromAllStreamAndPrefetchJsonData ( store : SqlStreamStore.IStreamStore )
2424 ( readingDirection : ReadingDirection )
2525 ( startPositionInclusive : StartPosition )
2626 ( msgCount : int )
2727 : Async < Result < ReadAllPage , string >> =
2828 ReadRaw.readFromAllStream' store readingDirection startPositionInclusive msgCount true
29- |> ExceptionsHandler.simpleExceptionHandler
29+ |> ExceptionsHandler.asyncExceptionHandler
3030
3131 let readFromStreamAndPrefetchJsonData ( store : SqlStreamStore.IStreamStore )
3232 ( readingDirection : ReadingDirection )
@@ -35,4 +35,4 @@ module Read =
3535 ( msgCount : int )
3636 : Async < Result < ReadStreamPage , string >> =
3737 ReadRaw.readFromStream' store readingDirection streamName readVersion msgCount true
38- |> ExceptionsHandler.simpleExceptionHandler
38+ |> ExceptionsHandler.asyncExceptionHandler
0 commit comments