Skip to content

OTP 29.0.4 warnings #86

Description

@pablopla

Warnings when compiled with OTP 29.0.4:

    ┌─ _build/default/lib/eredis/src/basho_bench_driver_eredis.erl:
    │
 26 │      case catch(eredis:q(Client, ["GET", Start], 200)) of
    │           ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.
Compile directive 'nowarn_deprecated_catch' can be used to suppress
warnings in selected modules.

    ┌─ _build/default/lib/eredis/src/basho_bench_driver_eredis.erl:
    │
 39 │      case catch(eredis:qp(Client, P, 500)) of
    │           ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.
Compile directive 'nowarn_deprecated_catch' can be used to suppress
warnings in selected modules.

    ┌─ _build/default/lib/eredis/src/basho_bench_driver_eredis.erl:
    │
 54 │      case catch(eredis:q(Client, ["SET", KeyGen(), ValueGen()], 200)) of
    │           ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.
Compile directive 'nowarn_deprecated_catch' can be used to suppress
warnings in selected modules.

    ┌─ _build/default/lib/eredis/src/basho_bench_driver_eredis.erl:
    │
 68 │      case catch(eredis:qp(Client, P, 500)) of
    │           ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.
Compile directive 'nowarn_deprecated_catch' can be used to suppress

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions