FsUno.Prod icon indicating copy to clipboard operation
FsUno.Prod copied to clipboard

unhandled AggregateException

Open MusaJ opened this issue 9 years ago • 1 comments

An unhandled exception of type 'System.AggregateException' occurred in FSharp.Core.dll

File EventStore.fs line# 58 gives the above error

let subscribe (projection: Event -> unit) (getStore: Async<IEventStoreConnection>) = async { let! store = getStore let credential = SystemData.UserCredentials("admin", "changeit") do! Async.AwaitTask <| store.SubscribeToAllAsync(true, (fun s e -> deserialize e |> Option.iter projection), userCredentials = credential) |> Async.Ignore return store } |> Async.RunSynchronously

MusaJ avatar Mar 27 '16 05:03 MusaJ

Hi, I have a fork of this codebase at github.com/bartelink/FunDomain which runs correctly against the latest EventStore. You should be able to play with it sucessfully against a default-installed eventstore

If I'm to guess at the problem you're experiencing, I'd say you've used a newer set of libraries and there are some missing binding redirects - perhaps if you dig into the AggregateException in question, the detail might confirm or deny that?

bartelink avatar Mar 28 '16 11:03 bartelink