Elixir Function Succeeding but not Returning Value

The last statement in your function is Logger.debug call, so it’s return will be your return value

1 Like